import agent from "@/api/agent";

export default {
  data: () => {
    return {
      agentList: []
    };
  },
  methods: {
    loadingAgent(org_id) {
      return agent.name_list({ org_id }).then(res => {
        this.agentList = res.data.name_list;
      });
    }
  }
};
